﻿@model Football.ViewModels.GameIndexViewModel
@{
    ViewBag.Title = "Games List";
}
@section featured {
    <section class="featured">
        <div class="content-wrapper">
           
                @if (Model.HasGames)
                {
                    <hgroup class="title">
                        <h2>@Model.Games.Count() games to choose from</h2>
                    </hgroup>
                    <p>
                        Which game are you looking for?
                    </p>
                }
                else
                {
                    <hgroup class="title">
                        <h2>These aren't the games you're looking for...</h2>
                    </hgroup>
                    <p>
                        Why not create a game?
                    </p>
                }
        </div>
    </section>
}
@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
